package com.example.demo.config;

/**
 * @author lyc
 * @date 2019/7/27.
 * https://www.baeldung.com/spring-jackson-jsonp
 * 2.0 后不支持 1.5 X 支持
 * 2.X实现
 * https://blog.csdn.net/gejiangbo222/article/details/90484708
 *
 * https://stackoverflow.com/questions/52845927/how-to-handle-jsonp-spring-framework-5-1
 */
import org.springframework.web.bind.annotation.ControllerAdvice;
//import org.springframework.web.servlet.mvc.method.annotation.AbstractJsonpResponseBodyAdvice;

@ControllerAdvice
public class JsonpAdvice /*extends AbstractJsonpResponseBodyAdvice*/ {
    public JsonpAdvice() {
        //super("callback");
        //super("callback","jsonp");
    }
}